function CheckAll(form)
{
	alert("aaa");
}
function ctrl(form,url,action)
{
	if(action == "export")
	{
		window.open("?menu=export","_blank");
		return;
	}

	var form = document.getElementById(form1);
	var sign = false;
	for (var i=0;i<form.elements.length;i++)
	{
		var e = form.elements[i];
		if (e.name != "chkall" && e.checked) sign = true;
	}

	if(!sign){
		alert("您还没有选择短信！");
		return;
	}
	form.action = url,menu=" + action;
	form.submit();
}